with open(r"c:\a.txt","r") as file:
      textList= file.readlines()
      print(int(max(textList)) - int(min(textList)))
      # print(max(textList) - min(textList))





